package com.study.sms.util;

import com.study.common.core.KeyValue;

import java.util.ArrayList;
import java.util.List;

/**
 * 短信模板数据
 *
 * @author m
 */
public class TemplateDataUtils {

    private static final String CODE = "code";

    /**
     * 短信数据
     *
     * @param code 验证码
     * @return 数据
     */
    public static List<KeyValue<String, Object>> getData(String code) {
        List<KeyValue<String, Object>> data = new ArrayList<>();
        data.add(new KeyValue<>(CODE, code));
        return data;
    }



}
